#include<bits/stdc++.h>
using namespace std;
const int N = 10001;
vector<int>e[N];
int main(){
	int n , m;
	cin >> n >> m;
	for(int i = 1 ; i <= m ; i++){
		int u , v;
		cin >> u >> v;
		e[u].push_back(v);
		e[v].push_back(u);
	}
	return 0;
}
